@echo off

set /p filename=file name: 

hdc shell mount -o rw,remount / >nul

hdc file send %filename% /system/bin/ >nul

hdc shell "chmod +x /system/bin/%filename%" >nul

hdc shell %filename%

hdc shell "rm /system/bin/%filename%" >nul

echo.

pause